/*
 *  Copyright (c) 2019-2020, somewhere (somewhere0813@gmail.com).
 *  <p>
 *  Licensed under the GNU Lesser General Public License 3.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *  <p>
 * https://www.gnu.org/licenses/lgpl.html
 *  <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.shanhesoft.java.modules.exam.domain.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.shanhesoft.java.common.core.util.tree.TreeNodeAware;
import com.shanhesoft.java.common.core.vo.TreeVo;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * <p>
 * 菜单权限表
 * </p>
 *
 * @author somewhere
 * @since 2019/2/1
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class TQuestionBankVo extends TreeVo<TQuestionBankVo> implements TreeNodeAware<TQuestionBankVo> {
	private static final long serialVersionUID = 1L;

	/** name 题库(章节)名称 */@NotBlank
	@Size(max=20)
	@TableField("name")
	private String name;
	/** parentId 父id */@NotNull
	@TableField("parent_id")
	private String parentId;
	/** parentIds 关键字 */ @Size(max=500)
	@TableField("parent_ids")
	private String parentIds;
	/** level 层级 */
	private Long level;
	/** systemed 是否系统题库 */@NotNull

	private Long systemed;

}
